package com.koron.css2.serviceManage.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * 树结构
 * @author 许海宜
 *
 */
public class RoleTreeBean {
	
	private String id; //树id
	private String code; //树code编码
	private String name; //树名称
	private String parentId; //父级id
	public String getParentId() {
		return parentId;
	}
	public void setParentId(String parentId) {
		this.parentId = parentId;
	}
	private Integer isLeaf; //叶子节点
	private boolean checked;
    private Integer[] selectchecked;
    private boolean checkAll;
    private boolean indeterminate;
    private String act;
	public boolean isChecked() {
		return checked;
	}
	public void setChecked(boolean checked) {
		this.checked = checked;
	}

	public Integer[] getSelectchecked() {
		return selectchecked;
	}
	public void setSelectchecked(Integer[] selectchecked) {
		this.selectchecked = selectchecked;
	}
	public boolean isCheckAll() {
		return checkAll;
	}
	public void setCheckAll(boolean checkAll) {
		this.checkAll = checkAll;
	}
	public boolean isIndeterminate() {
		return indeterminate;
	}
	public void setIndeterminate(boolean indeterminate) {
		this.indeterminate = indeterminate;
	}
	public String getAct() {
		return act;
	}
	public void setAct(String act) {
		this.act = act;
	}
	private List<OperatorBean> sonData;
	public List<OperatorBean> getSonData() {
		return sonData;
	}
	public void setSonData(List<OperatorBean> sonData) {
		this.sonData = sonData;
	}
	public Integer getIsLeaf() {
		return isLeaf;
	}
	public void setIsLeaf(Integer isLeaf) {
		this.isLeaf = isLeaf;
	}
	private ArrayList<RoleTreeBean> children = new ArrayList<>(); //下级目录
	
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}

	public ArrayList<RoleTreeBean> getChildren() {
		return children;
	}
	public void setChildren(ArrayList<RoleTreeBean> children) {
		this.children = children;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
}
